package com.common.common;

public abstract class BasePresenter<T extends IBaseView> implements IBasePresenter {
    protected T mView;

    public BasePresenter(T view) {
        this.mView = view;
    }

    @Override
    public void showToast(String msg) {
        mView.showToast(msg);
    }

    @Override
    public void showToast(String msg, int timeMillis) {
        mView.showToast(msg, timeMillis);
    }
}
